﻿<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" title="Share Online Pictures of MoBiLe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">

<center>
    <p>
        <span class="style1">
        <asp:Label ID="Label1" runat="server" Text="Welcome " 
            style="font-size: large; color: #0066FF"></asp:Label>
        <asp:Label ID="Label2" runat="server" Text="Username" 
            style="font-size: large; color: #0066FF"></asp:Label>
        </br>
        
        
        <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>
        
        
        </span></p>
    <p>
    <table>
    <tr>
    <td align=center>
      <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1" >
            <headertemplate >
            <table cellpadding=3>
                <tr>
                         <td><b>CATEGORY</b></td>
                </tr>
                </table>
            </headertemplate>
              <itemtemplate>     
            <table cellpadding=4>
                       
                <tr>
                   <td><a href= "Category page.aspx?id=<%# Eval("categoryid")%>"> 
                   <%#Eval("name")%> 
                </a> </td>
                
                </tr>
                </table>
                
            </itemtemplate>
           
        </asp:Repeater>
      <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True" 
            ProviderName="System.Data.SqlClient" 
            SelectCommand="SELECT [categoryid], [name] FROM [category]">
        </asp:SqlDataSource>
        
    </td>
    </tr>
   
    </table>   
    </p>
    <p>

        
    </p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    </center>
    
        


</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

